package com.iuie.ns.datum.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.iuie.ns.datum.vo.BookInfoVO;
import com.iuie.ns.frame.persistence.annotations.MyBatisRepository;
import com.iuie.ns.frame.web.dataset.vo.Page;

@MyBatisRepository
public interface BookMapper {

	List<BookInfoVO> findAll();

	List<BookInfoVO> queryList(Page page, @Param("bookInfo") BookInfoVO bookInfoVO);

	void save(@Param("bookInfo")BookInfoVO bookInfo);

	BookInfoVO findBookById(@Param("bookId") String bookId);

	void deleteBookById(@Param("bookId") String bookId);

	void update(@Param("bookInfo")BookInfoVO bookInfo);
}
